@keyframes terminator_flash {
    50%{ background-position: 0 -64px; }
}
$head-height: 40px;
$head-background-color: #444;
$content-background-color: #222;

.root {
    background: rgba(0, 0, 0, 0.6);
}

.main {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.main[maximized]  {
    position: fixed;
    z-index: 901;
    top: 0 !important;
    left: 0 !important;
}
.main[maximized] .content { height: calc(100% - $head-height); }
.main[blank] .content { height: 160px !important; }

.head {
    height: $head-height;
    background: #444;
    color: white;
}

.tabs[class] {
    display: inline-block;
}

.tabs > ul {
    border-bottom-width: 0 !important;
}
.tabs > ul > li[class] {
    position: relative;
    box-sizing: border-box;
    background: $head-background-color;
    height: $head-height;
    line-height: $head-height;
    padding: 0 20px 0 10px;
    min-width: 100px;
    max-width: 200px;
    border: 0;
}
.tabs > ul > li[selected] { background: $content-background-color !important; }
.tabs > ul > li:not([selected]):hover { background: #333 !important; }
/* .tabs > ul > li[selected]:hover {
    position: absolute;
    display: none;
    content: "✕";
    right: 5px;
    top: 0;
} */

.buttonWrap {
    float: right;
    height: $head-height;
    line-height: $head-height;
}

.buttonWrap i {
    color: #848484;
    cursor: pointer;
    font-size: 14px;
}
.buttonWrap i:hover { color: white; }

.content {
    height: 400px;
    background: #222;
    color: white;
}

.min {
    background: url(@micro-app/common/assets/images/terminator.png) no-repeat;
    cursor: pointer;
    position: fixed;
    z-index: 900;
    bottom: 20px;
    right: 40px;
    width: 64px;
    height: 64px;
    animation: terminator_flash .6s infinite step-end;
}
